<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
 <ui:composition template="templateEPA.xhtml">
  <ui:define name="Titulo">EPA - Avaliações</ui:define>
  <ui:define name="conteudo">
      <h:outputText value="Avaliações de #{avaliacoesControle.alunoSelecionado.nome}"/>
      <h:panelGrid columns="2">
      <c:forEach items="#{avaliacoesControle.listaAvaliacoes}" var="varAvaliacoes">
          <h:outputText value="#{varAvaliacoes.atividade.titulo}"/>
          <h:outputText value=" - Aguardando Correção " rendered="#{(varAvaliacoes.status == 0)?true:false}"/>
          <h:outputText value=" - Correta " rendered="#{(varAvaliacoes.status == 1)?true:false}"/>
          <h:outputText value=" - Errada " rendered="#{(varAvaliacoes.status == 2)?true:false}"/>
      </c:forEach>
      </h:panelGrid>
  </ui:define>
 </ui:composition>
</html>
